package cn.itrip.dao;

import cn.itrip.pojo.ItripTradeEnds;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItripTradeEndsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripTradeEnds record);

    int insertSelective(ItripTradeEnds record);

    ItripTradeEnds selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItripTradeEnds record);

    int updateByPrimaryKey(ItripTradeEnds record);

    int updateItripTradeEnds(@Param("flag") Long flag, @Param("oldflag")Long oldflag);

    List<ItripTradeEnds> getItripTradeEndsListByFlag(Long flag);
}